<?php

namespace App\Events\Project;

use App\Models\Project;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;

class DetachedStaffEvent
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

	public $date;
	public $user_id;
	public $project_id;

	/**
	 * DetachedStaffEvent constructor.
	 * @param $date
	 * @param $user_id
	 * @param $project_id
	 */
	public function __construct(string $date, int $project_id, int $user_id)
	{
		$this->date = $date;
		$this->user_id = $user_id;
		$this->project_id = $project_id;
	}
}
